const isLocal = process.env.VUE_ENV === "client";
const apis = {
  skill_direction_list_get: {
    get: "/business-api/customer?customerName={name:}"
  }
};

const mock = isLocal
  ? {
      skill_direction_list_get: {
        get: ""
      }
    }
  : {};

Object.keys(mock).forEach(key => {
  const urlKey = Object.keys(mock[key])[0];
  const url = mock[key][urlKey];
  if (apis[key]) {
    apis[key][urlKey] = url;
  }
});
export default apis;
